<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
[#include "/admin/include/head.htm"]

    <script type="text/javascript">
        var grid;
        function f_export_loan(){
            $("#exportForm").submit();
        }
        $(function(){
            grid = $("#maingrid").ligerGrid({
                columns: [

                    {display: '用户id', name: 'user_id', align: 'center', width: 200 },
                    {display: '用户名', name: 'u_userName', align: 'center', width: 100 },
                    {display: '真实姓名', name: 'real_name', align: 'center', width: 120 },
                    {display: '投标金额', name: 'success_money', align: 'center', width: 100 },
                    {display: '收益', name: 'interest', align: 'center', width: 100 },
                    {display: '投标编号', name: 'id', align: 'center', width: 100 },
                    {display: '操作时间', name: 'addtime', align: 'center', width: 200,isdate:'true'},
                    {display: '奖励', name: 'award', align: 'center', width: 100 }
                ],  pageSize:20, url: 'queryData.aspx?borrowId=${borrowId}',toolbar: {}, width: '100%', height:'100%', enabledSort: true
            });


            $(".l-toolbar").ligerToolBar({ items: [


                { text: '导出', click: export_loan }
            ]
            });
            //绑定搜索按钮
            LG.search(grid);
        });

    </script>
</head>
<body style="padding:10px; overflow:hidden;">
<div id="functions">
    <div class="clearfix">
        <div style="float:left;">
            <form id="exportForm" method="post" action="${path}/admin/repayment/exportRepaymentManage.aspx">
		    <input name="borrowId" value="${borrowId}" style="display: none"/>
                </form>
        </div>
    </div>
</div>

<div id="maingrid" style="margin:0; padding:0"></div>
</body>
</html>